package cn.org.eshow.dao;


import cn.org.eshow.bean.query.CartQuery;
import cn.org.eshow.common.page.Page;
import cn.org.eshow.model.Cart;

import java.util.List;

/**
 * An interface that provides a data management interface to the Cart table.
 */
public interface CartDao extends GenericDao<Cart, Integer> {

	List<Cart> list(CartQuery query);

	Page<Cart> search(CartQuery query);

    Long count(CartQuery query);
}